import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    carlistgood: [],
  },
  getters: {},
  mutations: {
    setcarlist(state, goods) {
      // state.carlistgood = [...state.carlistgood, ...goods];
      state.carlistgood = goods;
    },
  },
  actions: {},
  modules: {},
});
